export default () => {
    let json = ref({
        title: '明细',
        show: false,
        width: '80%',
        frame: false,
        close: true,
        data: {},
        config: function (title, width, frame) {
            json.value.title = title
            json.value.width = width
            json.value.frame = frame
        }
    })
    return json
}